import System from "../utils/System";

/**
  *  
  * 类名 Api+接口字段1
  * 方法名 字段多个/间拼接
  *  
  */
export default class ApiAuth {

  /**
    * 登录验证
    */
  static loginPassWord(account:string,password:string){
      let param = {
        account,
        password
      }
      return System.$httpAuth.get({
        url: "login/password",
        method: "post",
      },param)
  }

  /**
    * 刷新认证
    */
  static loginRefreshToken(){
      let param = {
      }
      return System.$httpAuth.get({
        url: "login/refreshToken",
        method: "get",
      },param)
  }

}